﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AmuTools;
using app.Api;


namespace app.Models
{
    /*
        系统模板
    */

    [Model(TableName = "t_template", PrimaryKey = "id", IdentityInsert = true)]
    public class Template
    {
        [Field(Description = "模板唯一标识")]
        public int id { get; set; }
        [Field(Description = "模板类型：email邮件，message短信")]
        public string type_1 { get; set; } // 
        [Field(Description = "模板用途：1注册验证，2重置密码，3解绑手机号码，4解绑手机号码，5系统消息，0其他")]
        public string type_2 { get; set; }//
        [Field(Description = "内容形式：text文本类型，content网页模板，html是HTML模板")]
        public string content_type { get; set; }//
        [Field(DataType = "text",Description ="模板介绍")]
        public string introduction { get; set; }
        [Field(DataType = "text", Description = "模板标题")]
        public string title { get; set; }
        [Field(DataType = "text", Description = "模板内容")]
        public string content { get; set;}
        [Field(Description = "创建时间")]
        public string create_time { get; set; }
        [Field(Description = "更新时间")]
        public string renovate_time { get; set; }
        [Field(Description = "启用：默认0，启用1")]
        public int selected { get; set; }
        


    }
}